package com.tnsw.coreutils.http;

import java.util.Hashtable;

import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpRequestBase;
import org.apache.http.entity.AbstractHttpEntity;

import android.content.Context;

public class THttpPost extends THttpBase {

	protected HttpPost httpPost;
	
	public THttpPost(Context context, String url) {
		super(context, url, new HttpPost());
		this.httpPost = (HttpPost) super.getHttpBase();
	}
	
	public void setEntity(AbstractHttpEntity entity) {
		this.httpPost.setEntity(entity);
	}

}
